package com.moore.mapper;

import com.moore.bean.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper {
    List<Message> getMessageByTenant(@Param("tenant") String tenant,@Param("status") String status);

    int isRead(@Param("status") String status, @Param("id") long id);
}
